<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改靓号变更记录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-record-edit" th:object="${beautifulRecord}">
            <input name="createMan" th:field="*{createMan}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">创建人：</label>
                <div class="col-sm-8">
                    <input name="createMan" th:field="*{createMan}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">创建人代理编号：</label>
                <div class="col-sm-8">
                    <input name="createAgentNum" th:field="*{createAgentNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">创建人代理名称：</label>
                <div class="col-sm-8">
                    <input name="createAgentName" th:field="*{createAgentName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">被修改人代理名称：</label>
                <div class="col-sm-8">
                    <input name="updateAgentName" th:field="*{updateAgentName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">被修改人代理编号：</label>
                <div class="col-sm-8">
                    <input name="updateAgentNum" th:field="*{updateAgentNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">变更前靓号：</label>
                <div class="col-sm-8">
                    <input name="beforeBeautifulNum" th:field="*{beforeBeautifulNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">变更前靓号名称：</label>
                <div class="col-sm-8">
                    <input name="beforBeautifulName" th:field="*{beforBeautifulName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">变更后靓号：</label>
                <div class="col-sm-8">
                    <input name="afterBeautifulNum" th:field="*{afterBeautifulNum}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">变更后靓号名称：</label>
                <div class="col-sm-8">
                    <input name="afterBeautifulName" th:field="*{afterBeautifulName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">变更时间：</label>
                <div class="col-sm-8">
                    <input name="createDate" th:field="*{createDate}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/record";
        $("#form-record-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-record-edit').serialize());
            }
        }
    </script>
</body>
</html>